WCPay\WooPay\WooPay_Utilities A

Total Complexity 58
Dependencies 7
Dependents 12
Total lines 359
Lines of code 158
Logical lines of code 92
Comment lines 144
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
should_enable_woopay_on_cart_or_checkout()
A
59 9 14
should_save_platform_customer()
S
63 7 9
decrypt_signed_data()
S
56 4 17
get_store_blog_token()
S
61 4 12
get_woopay_is_blocks()
S
68 4 6
encrypt_and_sign_data()
S
55 2 19
get_woopay_phone()
S
64 3 9
get_woopay_viewport()
S
65 3 9
get_woopay_source_url()
S
65 3 9
get_woopay_url()
S
78 2 3
should_enable_woopay()
S
72 2 5
is_store_country_available()
S
66 2 8
is_country_available()
S
66 2 8
is_woopay_first_party_auth_enabled()
S
79 2 3
is_woopay_express_checkout_enabled()
S
79 2 3
get_persisted_available_countries()
S
68 2 7
sanitize_intent_id()
S
78 1 3
is_guest_checkout_enabled()
S
78 1 3
get_woopay_rest_url()
S
78 1 3
get_woopay_request_signature()
S
71 1 5
is_woopay_email_input_enabled()
S
79 1 3